<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html> 
<head>
<%@ include file="../../include/easyui.jsp" %>
<%@ include file="../../include/pForm.jsp" %>
<title>流程新增页面</title>
</head>
<body>
	<div class="easyui-panel" data-options="fit:true,border:false" style="padding:10px;">
		<!-- 替换自动form表单 -->
		<form id="easyuiForm" method="post" action="/console/com.fs.flow.pojo.JFormFlow/newAdd">
		 <input type="hidden" name="className" value="com.fs.flow.pojo.JFormFlow" />
		 <input type="hidden" name="createrId" value="${SESSION_USER.user.id}" />
		 <input type="hidden" name="flowStatus" value="初始" />
			 <div style="margin-bottom:20px">
			  	<input class="easyui-textbox easyui-validatebox" name="flowName" style="width:240px;" data-options="labelWidth:80,label:'流程名称:',required:true,validType:['length[1,15]','remote[\'/console/jFormFlow/remote\',\'flowName\']']" />
			 </div>
			<div style="margin-bottom:20px">
			  	 <select class="easyui-combobox" name="flowType"  style="width:240px;" data-options="labelWidth:80,label:'流程类型:',valueField:'text',panelHeight:140" 
					url="/console/dictionary/combotree?valueField=dicName&textField=dicName&modleName=dictionary&pCode=C7&pCode_searchType=eq" >
			 	</select>
			 </div>
			 
			 <div style="margin-bottom:20px">
			  	 <select class="easyui-combobox" name="formId"  style="width:240px;" data-options="labelWidth:80,label:'流程表单:',valueField:'id',panelHeight:140" 
					url="/console/combobox?textField=fName&modleName=jForm&fStatus=已设计&fStatus_searchType=eq" >
			 	</select>
			 </div>
			 
			
			 <div style="margin-bottom:20px">
			  	<input class="easyui-textbox" name="flowDesc" multiline="true" style="width:240px;height:80px;"  data-options="labelWidth:80,label:'流程描述:',required:false,validType:'length[0,500]'"  />
			 </div>
			 
		</form>
	</div>
<script>
$(function(){
});
</script>
</body>
</html>